package com.youpai.platform.user.web.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author huanghao
 * @version 1.0
 * @description 搜索用户信息请求参数
 * @date 2022/08/04
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "SearchUserReq",description = "搜索用户信息请求参数")
public class SearchUserReq {

    @ApiModelProperty(value = "搜索条件")
    private String keyword;

    @NotBlank(message = "用户uid不能为空")
    @ApiModelProperty(value = "用户uid")
    private String uid;
}
